Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d89b748

Browse files
committedSep 30, 2014
- Updated core AS draft reflecting vocal changes and json-ld basis.
- Forgot the link properties when updating the vocal
1 parent a15f1f1 commit d89b748

3 files changed

+549
-1242
lines changed
 

‎activitystreams2-context.jsonld

+43-7
Original file line numberDiff line numberDiff line change
@@ -226,31 +226,31 @@
226226
"@type": "xsd:dateTime"
227227
},
228228
"first": {
229-
"@id": "link:first",
229+
"@id": "as:first",
230230
"@type": "@id"
231231
},
232232
"last": {
233-
"@id": "link:last",
233+
"@id": "as:last",
234234
"@type": "@id"
235235
},
236236
"prev": {
237-
"@id": "link:prev",
237+
"@id": "as:prev",
238238
"@type": "@id"
239239
},
240240
"previous": {
241-
"@id": "link:prev",
241+
"@id": "as:prev",
242242
"@type": "@id"
243243
},
244244
"next": {
245-
"@id": "link:next",
245+
"@id": "as:next",
246246
"@type": "@id"
247247
},
248248
"current": {
249-
"@id": "link:current",
249+
"@id": "as:current",
250250
"@type": "@id"
251251
},
252252
"self": {
253-
"@id": "link:self",
253+
"@id": "as:self",
254254
"@type": "@id"
255255
},
256256
"replies": {
@@ -819,6 +819,42 @@
819819
"rdfs:domain": "as:Collection",
820820
"rdfs:range": "xsd:dateTime"
821821
},
822+
{
823+
"@id": "as:current",
824+
"@type": "owl:FunctionalProperty",
825+
"rdfs:domain": "as:Collection",
826+
"rdfs:range": "as:Link"
827+
},
828+
{
829+
"@id": "as:next",
830+
"@type": "owl:FunctionalProperty",
831+
"rdfs:domain": "as:Collection",
832+
"rdfs:range": "as:Link"
833+
},
834+
{
835+
"@id": "as:prev",
836+
"@type": "owl:FunctionalProperty",
837+
"rdfs:domain": "as:Collection",
838+
"rdfs:range": "as:Link"
839+
},
840+
{
841+
"@id": "as:first",
842+
"@type": "owl:FunctionalProperty",
843+
"rdfs:domain": "as:Collection",
844+
"rdfs:range": "as:Link"
845+
},
846+
{
847+
"@id": "as:last",
848+
"@type": "owl:FunctionalProperty",
849+
"rdfs:domain": "as:Collection",
850+
"rdfs:range": "as:Link"
851+
},
852+
{
853+
"@id": "as:self",
854+
"@type": "owl:FunctionalProperty",
855+
"rdfs:domain": "as:Collection",
856+
"rdfs:range": "as:Link"
857+
},
822858
{
823859
"@id": "as:replies",
824860
"@type": "owl:FunctionalProperty",

‎activitystreams2-vocabulary.html

+135-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ <h2>Classes</h2>
239239
<td valign="top"><code>http://activitystrea.ms/2.0/Collection</code></td>
240240
<td rowspan="3" valign="top">
241241
<p><code><a>items</a> | <a>totalItems</a> | <a>itemsPerPage</a> | <a>startIndex</a> |
242-
<a>itemsAfter</a> | <a>itemsBefore</a></code></p>
242+
<a>itemsAfter</a> | <a>itemsBefore</a> | <a>current</a> | <a>next</a> | <a>prev</a> |
243+
<a>first</a> | <a>last</a> | <a>self</a></code></p>
243244
<p><i>From <a title="Object"><code>Object</code></a></i>:<br/>
244245
<code><a>language</a> | <a>displayName</a> | <a>alias</a> | <a>author</a> | <a>content</a> |
245246
<a>summary</a> | <a>title</a> | <a>icon</a> | <a>image</a> | <a>location</a> |
@@ -1693,6 +1694,139 @@ <h2>Collection Terms</h2>
16931694
</tr>
16941695
</tbody>
16951696

1697+
<tbody>
1698+
<tr>
1699+
<td rowspan="4" valign="top"><dfn>current</dfn></td>
1700+
<td valign="top" width="10%">URI:</td>
1701+
<td valign="top"><code>http://activitystrea.ms/2.0/current</code></td>
1702+
</tr>
1703+
<tr>
1704+
<td valign="top">Notes:</td>
1705+
<td valign="top">
1706+
Provides a link to the collection page containing the most recently
1707+
published or updated items.
1708+
</td>
1709+
</tr>
1710+
<tr>
1711+
<td valign="top">Domain:</td>
1712+
<td valign="top"><a title="Collection"><code>Collection</code></a></td>
1713+
</tr>
1714+
<tr>
1715+
<td valign="top">Value:</td>
1716+
<td valign="top"><code><a title="Link">Link</a></code></td>
1717+
</tr>
1718+
</tbody>
1719+
1720+
<tbody>
1721+
<tr>
1722+
<td rowspan="4" valign="top"><dfn>next</dfn></td>
1723+
<td valign="top" width="10%">URI:</td>
1724+
<td valign="top"><code>http://activitystrea.ms/2.0/next</code></td>
1725+
</tr>
1726+
<tr>
1727+
<td valign="top">Notes:</td>
1728+
<td valign="top">
1729+
Provides a link to the next page of items in the collection
1730+
</td>
1731+
</tr>
1732+
<tr>
1733+
<td valign="top">Domain:</td>
1734+
<td valign="top"><a title="Collection"><code>Collection</code></a></td>
1735+
</tr>
1736+
<tr>
1737+
<td valign="top">Value:</td>
1738+
<td valign="top"><code><a title="Link">Link</a></code></td>
1739+
</tr>
1740+
</tbody>
1741+
1742+
<tbody>
1743+
<tr>
1744+
<td rowspan="4" valign="top"><dfn>prev</dfn></td>
1745+
<td valign="top" width="10%">URI:</td>
1746+
<td valign="top"><code>http://activitystrea.ms/2.0/prev</code></td>
1747+
</tr>
1748+
<tr>
1749+
<td valign="top">Notes:</td>
1750+
<td valign="top">
1751+
Provides a link to the previous page of item in the collection
1752+
</td>
1753+
</tr>
1754+
<tr>
1755+
<td valign="top">Domain:</td>
1756+
<td valign="top"><a title="Collection"><code>Collection</code></a></td>
1757+
</tr>
1758+
<tr>
1759+
<td valign="top">Value:</td>
1760+
<td valign="top"><code><a title="Link">Link</a></code></td>
1761+
</tr>
1762+
</tbody>
1763+
1764+
<tbody>
1765+
<tr>
1766+
<td rowspan="4" valign="top"><dfn>first</dfn></td>
1767+
<td valign="top" width="10%">URI:</td>
1768+
<td valign="top"><code>http://activitystrea.ms/2.0/first</code></td>
1769+
</tr>
1770+
<tr>
1771+
<td valign="top">Notes:</td>
1772+
<td valign="top">
1773+
Provides a link to the further preceeding page in the collection
1774+
</td>
1775+
</tr>
1776+
<tr>
1777+
<td valign="top">Domain:</td>
1778+
<td valign="top"><a title="Collection"><code>Collection</code></a></td>
1779+
</tr>
1780+
<tr>
1781+
<td valign="top">Value:</td>
1782+
<td valign="top"><code><a title="Link">Link</a></code></td>
1783+
</tr>
1784+
</tbody>
1785+
1786+
<tbody>
1787+
<tr>
1788+
<td rowspan="4" valign="top"><dfn>last</dfn></td>
1789+
<td valign="top" width="10%">URI:</td>
1790+
<td valign="top"><code>http://activitystrea.ms/2.0/last</code></td>
1791+
</tr>
1792+
<tr>
1793+
<td valign="top">Notes:</td>
1794+
<td valign="top">
1795+
Provides a link to furthest page in the collection
1796+
</td>
1797+
</tr>
1798+
<tr>
1799+
<td valign="top">Domain:</td>
1800+
<td valign="top"><a title="Collection"><code>Collection</code></a></td>
1801+
</tr>
1802+
<tr>
1803+
<td valign="top">Value:</td>
1804+
<td valign="top"><code><a title="Link">Link</a></code></td>
1805+
</tr>
1806+
</tbody>
1807+
1808+
<tbody>
1809+
<tr>
1810+
<td rowspan="4" valign="top"><dfn>self</dfn></td>
1811+
<td valign="top" width="10%">URI:</td>
1812+
<td valign="top"><code>http://activitystrea.ms/2.0/self</code></td>
1813+
</tr>
1814+
<tr>
1815+
<td valign="top">Notes:</td>
1816+
<td valign="top">
1817+
Provides a link to this page of the collection
1818+
</td>
1819+
</tr>
1820+
<tr>
1821+
<td valign="top">Domain:</td>
1822+
<td valign="top"><a title="Collection"><code>Collection</code></a></td>
1823+
</tr>
1824+
<tr>
1825+
<td valign="top">Value:</td>
1826+
<td valign="top"><code><a title="Link">Link</a></code></td>
1827+
</tr>
1828+
</tbody>
1829+
16961830
</table>
16971831
</section>
16981832

‎activitystreams2.html

+371-1,234
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.